package com.nwpu.bigdata.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nwpu.bigdata.dao.mapper.EventMapper;
import com.nwpu.bigdata.model.Event;
import com.nwpu.bigdata.service.EventService;

/**
 *@version:2018年7月22日下午8:17:12
*/
/**
 * @author Administrator
 *
 */
@Service
public class EventServiceImpl implements EventService {

	/* (non-Javadoc)
	 * @see com.nwpu.bigdata.service.EventService#eventInsert(com.nwpu.bigdata.model.Event)
	 */
	
	@Autowired
	EventMapper eventMapper;
	@Override
	public int insertEve(Event record) {
		eventMapper.eventInsert(record);
		return 0;
	}

}
